export default {
    async getChannels() {
        let resp = await fetch("/x/web-interface/web/channel/category/list");
        let data = await resp.json();
        let datas = data.data.categories;
        return datas;
    }
}